package com.lwlk.zdk.service.wdHfArea.impl;

import com.lwlk.zdk.mapper.wd.wdHfAreaMapper;
import com.lwlk.zdk.service.wdHfArea.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl implements AreaService {


    @Autowired
    wdHfAreaMapper wdHfAreaMapper;


    @Override
    public List  selectCity() {
        List areaList =wdHfAreaMapper.selectPid();
        return areaList;
    }

    @Override
    public List selectArea(String id) {
        List areaList=wdHfAreaMapper.selectById(id);
        return areaList;
    }
}
